package com.qf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.catalina.User;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;
import java.io.Serializable;

/**
 * (Recycle)实体类
 *
 * @author makejava
 * @since 2023-05-16 14:02:55
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("recycle")
public class Recycle implements Serializable {
    private static final long serialVersionUID = 924209954106926318L;

    @TableId(value = "recycle_id",type = IdType.AUTO)
    private Integer recycleId;

    private Integer userId;
    
    private String recycleDamagingWasteVolume;
    
    private String recycleDamagingWasteWeight;
    
    private String recycleInfectiousWasteVolume;
    
    private String recycleInfectiousWasteWeight;
    
    private String recycleCarriers;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Timestamp recycleDate;
    
    private String recycleRemark;

    private Integer recycleDelete;

    @TableField(exist = false)
    private String userName;


}

